#########################################################################
#  End of the Finnish Winter War (modded - Winter War doctrine for SOV)
#########################################################################
event = { 
	id = 2627
	random = no
	country = SOV
	
	trigger = {
		
		OR = {
			AND = {
				control = { province = 787 data = SOV }
				control = { province = 798 data = SOV }
				control = { province = 705 data = SOV }
			}
			control = { province = 706 data = SOV } # Helsingfors
		}
	
		war = { country = FIN country = SOV }
		NOT = {
			alliance = { country = FIN country = GER }
		}
		NOT = {
			alliance = { country = FIN country = ENG }
		}
	}
	
	name = "EVT_2627_NAME"
	desc = "EVT_2627_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2627A" # We'll settle for what we asked for
		command = { type = gain_tech which = 11505 } # Winter War 
		command = { type = trigger which = 3203 } # FIN
	}
	action_b = {
		name = "ACTIONNAME2627B" # Let's bring them Socialism!
		command = { type = gain_tech which = 11505 } # Winter War
		command = {  }
	}
}
#########################################################################
#  End of the Finnish Winter War
#########################################################################
event = { 
	id = 3203
	random = no
	country = FIN
	
	# Triggered by SOV 2627
	
	name = "EVT_3203_NAME"
	desc = "EVT_3203_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME3203A" # Fold to Russian Demands
		command = { type = trigger which = 2628 } #SOV
		command = { type = secedeprovince which = SOV value = 787 }
		command = { type = secedeprovince which = SOV value = 803 }
#		command = { type = secedeprovince which = SOV value = 821 }
		command = { type = alignment which = fascist value = 100  }
		command = { type = peace which = SOV }
		command = { type = access which = SOV }
		command = { type = dissent value = 10 }
	}
	action_b = {
		name = "ACTIONNAME3203B" # We will never surrender!
		
		command = { type = trigger which = 2629 } #SOV
		command = { type = alignment which = fascist value = 100  }
	}
}

#########################################################################
#  End of the Finnish Winter War - Finns accepts
#########################################################################
event = { 
	id = 2628
	random = no
	country = SOV
	
	# Triggered by FIN 3203
	
	name = "EVT_2628_NAME"
	desc = "EVT_2628_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2628A" # Good!
		command = { type = peace which = FIN }
		command = { type = dissent value = -10 } 
		command = { type = ai which = "core_ussr1940.ai" }
	}
}
#########################################################################
#  End of the Finnish Winter War - Finns refuse
#########################################################################
event = { 
	id = 2629
	random = no
	country = SOV
	
	# Triggered by FIN 3203
	
	name = "EVT_2629_NAME"
	desc = "EVT_2629_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2629A" # They will have to pay!
		command = { type = dissent value = 5 }
	}
}
#########################################################################
#  End of the Swedish Winter War
#########################################################################
event = { 
	id = 2630
	random = no
	country = SOV
	
	trigger = {
		event = 2628 # End of the Winter War - Finns accepts
		war = { country = SWE country = SOV }
		NOT = {
			OR = {
				alliance = { country = SWE country = GER }
				alliance = { country = SWE country = ENG }
				}
			}
	}
	
	name = "EVT_2630_NAME"
	desc = "EVT_2630_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2630A" # Let us stop this unnecissary fighting
		command = { type = trigger which = 3302 } # SWE
	}
	action_b = {
		name = "ACTIONNAME2630B" # Let's bring them Socialism!
		command = {  }
	}
}
#########################################################################
#  End of the Swedish Winter War
#########################################################################
event = { 
	id = 3302
	random = no
	country = SWE
	
	# Triggered by SOV 2630
	
	name = "EVT_3302_NAME"
	desc = "EVT_3302_DESC"
	style = 0
	
	
	action_a = {
		name = "ACTIONNAME3302A" # Accept Peace Proposal
		command = { type = peace which = SOV value = -1 }
		command = { type = dissent value = -10 }
		command = { type = trigger which = 2631 } # SOV
	}
#	action_b = {
#		name = "ACTIONNAME3302B" # Refuse Peace Proposal
#		command = { type = alignment which = fascist value = 100  }
#		command = { type = dissent value = 10 }
#		command = { type = trigger which = 2632 } # SOV
#	}
}
#########################################################################
#  End of the Swedish Winter War - Swedes accepts
#########################################################################
event = { 
	id = 2631
	random = no
	country = SOV
	
	# Triggered by SWE 3302
	
	name = "EVT_2631_NAME"
	desc = "EVT_2631_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2631A" # Good!
		#command = { type = peace which = SWE }
		command = { type = dissent value = -10 } 
	}
}
#########################################################################
#  End of the Swedish Winter War - Swedes refuse
#########################################################################
event = { 
	id = 2632
	random = no
	country = SOV
	
	# Triggered by SWE 3302
	
	name = "EVT_2632_NAME"
	desc = "EVT_2632_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME2632A" # They will have to pay!
		command = { type = dissent value = 5 }
	}
}
#########################################################################
#  Moving of Industry to Sibiria (modified by Copper)
#########################################################################
event = { 
	id = 2633
	random = no
	country = SOV
	
	trigger = {
		control = { province = 781 data = SOV } #Smolensk
		control = { province = 775 data = SOV } #Kiev
		control = { province = 857 data = SOV } #Kharkov
            	control = { province = 788 data = SOV } #leningrad
		control = { province = 1377 data = SOV } #Sverdlovsk
		control = { province = 1378 data = SOV } #Tjeljabinsk
		control = { province = 1371 data = SOV } #Magnitogorsk
		war = { country = GER country = SOV }
	}
	
	name = "EVT_2633_NAME"
	desc = "EVT_2633_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2633A" # Let's move our industrial base to Sibiria
		command = { type = industry which = 778 value = -6 } #Minsk
		command = { type = industry which = 861 value = -4 } #Rostov
		command = { type = industry which = 764 value = -4 } #Odessa
		command = { type = industry which = 766 value = -1 } #Vinnitsa
		command = { type = industry which = 775 value = -5 } #Kiev 
		command = { type = industry which = 776 value = -1 } #Chernigov 
		command = { type = industry which = 857 value = -5 } #Kharkov 
		command = { type = industry which = 862 value = -4 } #Sevastopol 
		command = { type = industry which = 863 value = -1 } #Stalino 
		command = { type = industry which = 864 value = -4 } #Donietsk 
		command = { type = industry which = 865 value = -2 } #Dniepropietrovsk 
		command = { type = industry which = 781 value = -5 } #Smolensk 
		command = { type = industry which = 791 value = -5 } #Novgorod
		command = { type = industry which = 788 value = -10 } #leningrad 
		command = { type = industry which = 1394 value = 6 } #Kurgan
		command = { type = industry which = 1395 value = 6 } #Kustanai
		command = { type = industry which = 1396 value = 6 } #Koktjetav
		command = { type = industry which = 1377 value = 6 } #Sverdlovsk
		command = { type = industry which = 1378 value = 11 } #Tjeljabinsk
		command = { type = industry which = 1371 value = 12 } #Magnitogorsk
		command = { type = province_keypoints which = 778 value = -15 } # Minsk
		command = { type = province_keypoints which = 764 value = -5 } # Odessa
		command = { type = province_keypoints which = 775 value = -15 } # Kiev
		command = { type = province_keypoints which = 857 value = -15 } # Kharkov
		command = { type = province_keypoints which = 1371 value = 15 } # 'Magnitka'
		command = { type = province_keypoints which = 1377 value = 15 } # Sverdlovsk
		command = { type = province_keypoints which = 1378 value = 15 } # Tchelabinsk
		command = { type = province_keypoints which = 1394 value = 5 } # Kurgan
		command = { type = warentry which = USA value = 15 }	
		}
	action_b = {
		name = "Limited action - just in case..." # No let it be.
		command = { type = industry which = 778 value = -15 } #Minsk
		command = { type = industry which = 861 value = -10 } #Rostov
		command = { type = industry which = 764 value = -10 } #Odessa
		command = { type = industry which = 766 value = -5 } #Vinnitsa
		command = { type = industry which = 775 value = -15 } #Kiev 
		command = { type = industry which = 776 value = -5 } #Chernigov 
		command = { type = industry which = 857 value = -15 } #Kharkov 
		command = { type = industry which = 862 value = -10 } #Sevastopol 
		command = { type = industry which = 863 value = -5 } #Stalino 
		command = { type = industry which = 864 value = -15 } #Donietsk 
		command = { type = industry which = 865 value = -5 } #Dniepropietrovsk 
		command = { type = industry which = 781 value = -15 } #Smolensk 
		command = { type = industry which = 791 value = -15 } #Novgorod 
		command = { type = industry which = 1394 value = 20 } #Kurgan
		command = { type = industry which = 1395 value = 20 } #Kustanai
		command = { type = industry which = 1396 value = 20 } #Koktjetav
		command = { type = industry which = 1377 value = 20 } #Sverdlovsk
		command = { type = industry which = 1378 value = 25 } #Tjeljabinsk
		command = { type = industry which = 1371 value = 30 } #Magnitogorsk
		command = { type = warentry which = USA value = 15 }
	}
	action_c = {
		name = "ACTIONNAME2633B" # No let it be.
		command = {  }
	}
}
#########################################################################
#  Moving of Industry to Sibiria  (modified by Copper)
#########################################################################
event = { 
	id = 2634
	random = no
	country = SOV
	
	trigger = {
		control = { province = 778 data = SOV } #Minsk
		control = { province = 709 data = SOV } #Riga
		control = { province = 707 data = SOV } #Tallinn
		control = { province = 1430 data = SOV } #Alma-Ata
		control = { province = 1515 data = SOV } #Semipalatinsk
		control = { province = 1524 data = SOV } #Krasnojarsk
		war = { country = GER country = SOV }
	}
	
	name = "EVT_2634_NAME"
	desc = "EVT_2634_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME2634A" # Let's move our industrial base to Sibiria
		command = { type = industry which = 709 value = -5 } #Riga
		command = { type = industry which = 707 value = -5 } #Tallinn
		command = { type = industry which = 712 value = -5 } #Lipawa
		command = { type = industry which = 715 value = -4 } #Kowno
		command = { type = industry which = 1430 value = 5 } #Alma-Ata
		command = { type = industry which = 1515 value = 5 } #Semipalatinsk
		command = { type = industry which = 1524 value = 9 } #Krasnojarsk
	}
	action_b = {
		name = "ACTIONNAME2634B" # No let it be.
		command = {  }
	}
}

#########################################################################
# Partition of Yugoslavia
# Reworked by Zerli
#########################################################################

event = { 
	id = 2031
	random = no
	country = GER

	trigger = { 
			event = 752361
			}

	name = "Partition of Yugoslavia"
	desc = "Ravaged by a brutal war, dismembered by German attack, and disillusioned by Allied support (or lack thereof), Yugoslavia capitulated. Germany dictated the peace terms, being the most powerful among the beligerents. Historically, seeing an opportunity to demonstrate the power of the Third Reich, and reward its allies and symphatizers, Germany decided to divide Yugoslavia among its neighbours. Central parts of the country were given to Croatia, a staunch German ally. The Dalmatian coast was handed over to Italians, while the extreme south of the country was awarded to Bulgarians. Hungarians received Vojvodina, a small northern province, while the remainder of the country was occupied by Germans themselves. Germany also annexed Slovenia directly, while deciding to create a puppet state out of the remains of Serbia. Do we proceed with the partition, or shall we take the country over completely?"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 29 month = december year = 1947 }

	action_a = {
			name = "Divide and conquer; please our allies"

			# Benefits of partition for Germany
			command = { type = influence value = 5 } # Increased international prestige
			command = { type = dissent value = -2 } # Population is happy

			# Secede to Hungary
			command = { type = secedeprovince which = HUN value = 741 } # Novi Sad

			# Create Croatia
			command = { type = independence which = CRO value = 1 }
			command = { type = trigger which = 2032 } # Croatian independence
			command = { type = coalpool value = -5000 } 
			command = { type = steelpool value = -2500 } 
			command = { type = oilpool value = -1000 } 
			command = { type = rubberpool value = -1000 } 
			command = { type = supplies value = -1000 } # transfers to Croatia
			command = { type = convoy which = 570 value = 624 when = 23 }  # coal, steel, oil, and supplies

			# Secede to Croatia
			command = { type = trigger which = 752405 }

			# Create Serbia
			command = { type = independence which = SER value = 1 }
			command = { type = trigger which = 752364 } # Serbian independence
			command = { type = coalpool value = -5000 } 
			command = { type = steelpool value = -2500 } 
			command = { type = oilpool value = -1000 } 
			command = { type = rubberpool value = -1000 } 
			command = { type = supplies value = -1000 } # transfers to Serbia
			command = { type = trigger which = 752392 } # Serbian puppeting choice

			# Sleep Italian partition events
			command = { type = sleepevent which = 462112 }
			command = { type = sleepevent which = 462113 }

			}

	action_b = {
			name = "Let us take it all"
			command = { type = influence value = -5 } # Our allies are angry
			command = { type = dissent value = 1 } # Population is not happy
			}
	}

#########################################################################
#  Independent Croatia
#########################################################################

event = { 
	id = 2032
	random = no
	country = CRO
	
	#Triggered by GER2031
	
	name = "Creation of Independent State of Croatia"
	desc = "Germans have allowed us independence, realizing our people's ancient dreams. We are now free to pursue our own destiny any way we see fit, with Germany at our side. Historically, on 10th of April of 1941, the same day German army entered Zagreb, Ustashe leader in Croatia, retired Austro-Hungarian colonel Slavko Kvaternik, proclaimed Independent State of Croatia (Nezavisna Drzava Hrvatska - NDH). Until the arrival of Ante Pavelic, the exiled leader of Ustashe, he took over all the governing functions, including the post of Chief of Armed Forces. For Chief of Army he placed his close friend, also retired A-H colonel Slavko Stancer, WWI veteran without right arm, whom he promoted to general, while for Chief of Air Force he set the former captain of Yugoslav Air Force Vladimir Kern whom he promoted to Colonel. Finally, for Chief of Navy he appointed captain Djuro Jakcin whom he promoted to rear admiral."
	style = 0
	
	action_a = {
			name = "It is time to celebrate" # We got Independence!
			command = { type = alliance which = GER }
			command = { type = access which = GER }
			command = { type = access which = ITA }
			command = { type = alignment which = fascist value = 200 }
			command = { type = manpower value = 20 }
			command = { type = coalpool value = 5000 } 
			command = { type = steelpool value = 2500 } 
			command = { type = oilpool value = 1000 } 
			command = { type = rubberpool value = 1000 } 
			command = { type = supplies value = 1000 } 
			command = { type = headofstate which = 30001 }
			command = { type = headofgovernment which = 30002 }
			command = { type = foreignminister which = 30003 }
			command = { type = armamentminister which = 30004 }
			command = { type = ministerofsecurity which = 30005 }
			command = { type = ministerofintelligence which = 30006 }
			command = { type = chiefofstaff which = 30007 }
			command = { type = chiefofarmy which = 30008 }
			command = { type = chiefofnavy which = 30009 }
			command = { type = chiefofair which = 30010 }
			command = { type = add_division which = militia }
			command = { type = trigger which = 752395 } # Death of P. M. Kvaternik
			}
	}
